/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Evento.java
 *
 * Created on 23/05/2010, 08:55:06 AM
 */

package Interfaces;

/**
 *
 * @author Karla Ruiz
 */
public class Evento extends javax.swing.JFrame {

    /** Creates new form Evento */
    public Evento() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        titulo = new javax.swing.JLabel();
        atras = new javax.swing.JButton();
        agregar = new javax.swing.JButton();
        lfecha = new javax.swing.JLabel();
        llugar = new javax.swing.JLabel();
        ldescripcion = new javax.swing.JLabel();
        fecha = new com.toedter.calendar.JDateChooser();
        lugar = new javax.swing.JTextField();
        descripcion = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        imagen = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("EVENTO");
        setMinimumSize(new java.awt.Dimension(500, 400));

        titulo.setFont(new java.awt.Font("Tahoma", 1, 18));
        titulo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        titulo.setText("Evento");
        titulo.setBounds(190, 20, 120, -1);
        jLayeredPane1.add(titulo, javax.swing.JLayeredPane.DEFAULT_LAYER);

        atras.setText("Atrás");
        atras.setBounds(70, 350, 100, -1);
        jLayeredPane1.add(atras, javax.swing.JLayeredPane.DEFAULT_LAYER);

        agregar.setText("Agregar");
        agregar.setBounds(360, 350, 90, -1);
        jLayeredPane1.add(agregar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        lfecha.setFont(new java.awt.Font("Tahoma", 1, 11));
        lfecha.setText("Fecha");
        lfecha.setBounds(50, 110, 40, -1);
        jLayeredPane1.add(lfecha, javax.swing.JLayeredPane.DEFAULT_LAYER);

        llugar.setFont(new java.awt.Font("Tahoma", 1, 11));
        llugar.setText("Lugar");
        llugar.setBounds(50, 160, 50, -1);
        jLayeredPane1.add(llugar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ldescripcion.setFont(new java.awt.Font("Tahoma", 1, 11));
        ldescripcion.setText("Descripcion");
        ldescripcion.setBounds(40, 210, 70, -1);
        jLayeredPane1.add(ldescripcion, javax.swing.JLayeredPane.DEFAULT_LAYER);
        fecha.setBounds(140, 110, 170, -1);
        jLayeredPane1.add(fecha, javax.swing.JLayeredPane.DEFAULT_LAYER);
        lugar.setBounds(140, 160, 170, -1);
        jLayeredPane1.add(lugar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        descripcion.setViewportView(jTextArea1);

        descripcion.setBounds(130, 210, 250, -1);
        jLayeredPane1.add(descripcion, javax.swing.JLayeredPane.DEFAULT_LAYER);

        imagen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/evento.png"))); // NOI18N
        imagen.setBounds(0, 0, 500, 400);
        jLayeredPane1.add(imagen, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 500, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Evento().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton agregar;
    private javax.swing.JButton atras;
    private javax.swing.JScrollPane descripcion;
    private com.toedter.calendar.JDateChooser fecha;
    private javax.swing.JLabel imagen;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JLabel ldescripcion;
    private javax.swing.JLabel lfecha;
    private javax.swing.JLabel llugar;
    private javax.swing.JTextField lugar;
    private javax.swing.JLabel titulo;
    // End of variables declaration//GEN-END:variables

}
